﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户登录</title>
    <style type="text/css">
        .style1
        {
            height: 29px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <table width="400px">
            <tr>
                <td colspan="3" class="style1">用户登录</td>
            </tr>
            <tr>
                <td width="100px">登录邮箱：</td>
                <td>
                    <asp:TextBox ID="Txb_LoginName" runat="server"  Width="150px"></asp:TextBox>
                </td>
                <td>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Txb_LoginName"
                                ValidationExpression="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"
                                Display="Static" Font-Name="verdana" Font-Size="10pt"> 
                            请输入有效的E-mail地址! 
                            </asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td width="100px">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
                <td>
                    <asp:TextBox ID="Txb_Pwd" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:Button ID="Btn_Login" runat="server" Text="登 录" 
                        onclick="Btn_Login_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Btn_Close" runat="server" Text="取 消" 
                        OnClientClick="window.close()" />
                </td>
            </tr>
        </table>
       
         <table width="400px">
            <tr>
                <td>
                 <hr/>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="Btn_Register" runat="server" Text="注册多巴拉帐号" 
                        onclick="Btn_Register_Click" />
                </td>
            </tr>
            </table>
        
    </div>
    </form>
</body>
</html>
